Skip to content

Fix two regressions and add developer build helpers#1476

Merged
troglobit merged 6 commits intomainfrom
misc
Apr 22, 2026
Merged

Fix two regressions and add developer build helpers#1476
troglobit merged 6 commits intomainfrom
misc

Conversation

@troglobit
Copy link
Copy Markdown
Contributor

@troglobit troglobit commented Apr 19, 2026

Description

  • Fix Update GitHub actions, Node.js 20 deprecated #1437: bump GitHub Actions to Node.js 24 compatible versions and fixed a missing image in the device discovery docs
  • Fix NTP reference ID wrong #1458: show ntp tracking displayed a truncated Reference ID (e.g. 92.2 instead of 92.246.137.39). When chronyc's CSV -c output has an IPv4 address in the name field, the code was blindly truncating it to 4 chars to satisfy the YANG refid string {length "4"} constraint. IPv6 server addresses (which NTP represents as a 32-bit MD5 hash) are also handled correctly
  • Fix Unable to get container operational data #1466: show container showed no output when a container's command line contained environment variables, which the existing regexp rejected. Extend the regexp and add a config false leaf cmdline to carry the actual operational command line used
  • Add support for developer config snippets: make aarch64_defconfig dev enables passwordless root-login in the aarch64 build. make dev is a quick way to build since actually proceeds to call make all after applying all snippets. See the Developer's Guide for more details

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Fixes #1437

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit added the ci:main Build default defconfig, not minimal label Apr 19, 2026
@troglobit troglobit marked this pull request as draft April 20, 2026 09:21
A container's command line, as reported by podman, may comtain environment
variables, which the current regexp (added in ed4fe58) does not support.

Extend the regexp to allow environment variables and add an operational,
config false, 'cmdline' leaf node to allow any characters to be reported
for the full command line in the operational output.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
admin@gateway:~$ chronyc tracking
Reference ID    : C23ACD14 (svl1.ntp.netnod.se)
Stratum         : 2
Ref time (UTC)  : Sun Apr 19 20:28:40 2026
System time     : 0.000000000 seconds fast of NTP time
Last offset     : -17.822519302 seconds
RMS offset      : 17.822519302 seconds
Frequency       : 1064.750 ppm slow
Residual freq   : +0.581 ppm
Skew            : 0.794 ppm
Root delay      : 0.018065268 seconds
Root dispersion : 0.000200240 seconds
Update interval : 0.0 seconds
Leap status     : Normal

vs

admin@gateway:/> show ntp tracking
Reference ID        : 194.58.205.20
Stratum             : 2
Ref time (UTC)      : Sun Apr 19 20:28:40 2026
System time         : 0.000000 seconds slow of NTP time
Last offset         : -17.822519302 seconds
RMS offset          : 17.822519302 seconds
Frequency           : 1064.750 ppm slow
Residual freq       : +0.581 ppm
Skew                : 0.794 ppm
Root delay          : 0.018065 seconds
Root dispersion     : 0.000188 seconds
Update interval     : 0.0 seconds
Leap status         : Normal

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit requested a review from mattiaswal April 20, 2026 12:46
@troglobit troglobit marked this pull request as ready for review April 20, 2026 12:46
@troglobit
Copy link
Copy Markdown
Contributor Author

troglobit commented Apr 21, 2026

@mattiaswal would be really great if you could review this, at your earliest convenience. Thank you in advance! 🙏

Copy link
Copy Markdown
Contributor

@mattiaswal mattiaswal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@troglobit troglobit merged commit 091618c into main Apr 22, 2026
8 of 9 checks passed
@troglobit troglobit deleted the misc branch April 22, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:main Build default defconfig, not minimal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to get container operational data NTP reference ID wrong Update GitHub actions, Node.js 20 deprecated

2 participants